% This file creates Figure 5a and saves it as Figure_5a.eps in
% \Replication_files\Figures\

clear
cd ../mat_files
load('fig5a_data.mat');

fig5a=figure;
hold on
box('on');
plot(0:0.05:5,duration,'k','LineWidth',0.5)
ylim([0 9]);
xlim([0 5]);
xlabel('Investment Adjustment Cost Parameter (a)','FontSize',10,'FontWeight','normal');
ylabel('Duration of Procyclicality of Markup','FontSize',10,'FontWeight','normal');

fig5a.PaperUnits='inches';
fig5a.PaperPosition=[0 0 3.5 2.5];

cd ../Figures
print('Figure_5a','-depsc','-tiff')
cd ../m_files